package cn.smbms.service;

import cn.smbms.dao.UserMapper;
import cn.smbms.pojo.User;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Classname UserServiceImpl
 * @Description TODO
 * @Date 2020-10-10 10:32
 * @Created by 26440
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService{

    /**
     * 查询所有用户信息
     */
    public List<User> getUserService(Wrapper<User> wrapper) {
        return baseMapper.selectUserList(wrapper);
    }
}
